Total Complexity | 39 |
Dependencies | 7 |
Dependents | 3 |
Total lines | 354 |
Lines of code | 151 |
Logical lines of code | 72 |
Comment lines | 152 |
Methods | 17 |
Properties | 7 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_menu_url() | 55 | 7 | 19 | |
get_menu_slug() | 54 | 6 | 20 | |
is_pro_type() | 77 | 4 | 3 | |
load_plugin() | 56 | 2 | 18 | |
disable_snippet_execution() | 77 | 3 | 3 | |
get_cap() | 65 | 3 | 9 | |
__construct() | 60 | 2 | 12 | |
localize_script() | 56 | 1 | 20 | |
is_compact_menu() | 78 | 2 | 3 | |
add_safe_mode_query_var() | 72 | 2 | 5 | |
get_types() | 59 | 1 | 14 | |
get_snippet_edit_url() | 69 | 1 | 7 | |
current_user_can() | 80 | 1 | 3 | |
get_cap_name() | 79 | 1 | 3 | |
get_network_cap_name() | 79 | 1 | 3 | |
init_rest_api() | 77 | 1 | 4 | |
allow_code_snippets_redirect() | 74 | 1 | 5 |